package com.lovo.project.enums;

import lombok.Data;

import java.io.Serializable;

/**
 * @author pankez
 * @title 商品异常类
 * @data 2020/11/5 14:14
 */
public enum GoodCodeEnum{
    /**订单未找到*/
    GOOD_FINDOUT_ENUM(5401,"商品未找到异常");

    /**枚举状态码*/
    private int code;
    /**状态信息*/
    private String msg;

    GoodCodeEnum(int code,String msg){
        this.code = code;
        this.msg = msg;
    }
}
